<template>
  <div>
    关于组件
    <h2>{{ info }}</h2>
  </div>
</template>

<script setup>
import { ref } from "vue";
import { useRoute } from "vue-router";
const route = useRoute();
const info = ref({});
info.value = route.query;
</script>

<style lang="scss" scoped>
</style>